package com.bawei.rk_01.Adapter

import com.bawei.base.utils.bean.Menu
import com.bawei.rk_01.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class MenuAdapter : BaseQuickAdapter<Menu,BaseViewHolder>(R.layout.item_menu) {
    override fun convert(holder: BaseViewHolder, item: Menu) {
        GlideUtils.loadcircleImage(context,item.pic,holder.getView(R.id.menu_iv))
        holder.setText(R.id.menu_tv,item.name)
    }
}